<template>
  <div class="app">
    <router-view></router-view>
  </div>
</template>
<script>
// import axios from 'axios'
// import { getLunbo } from "./api"
export default {
  data() {
    return {
      title: '首页',
      active: 0
    }
  },
  created() {
    // axios.get('http://itfly.vip/api/getlunbo').then(res => {
    //   console.log(res)
    // })

    this.$http.getLunbo().then(res => {
      console.log(res)
    })
  },
  methods: {
    onClickLeft() {
      this.$router.go(-1)
    }
  }
}
</script>
<style lang="scss" scoped>
</style>
